package com.liu.controller;

import com.alibaba.fastjson.JSONObject;
import com.liu.service.XxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liubo
 */
@RestController
public class XxxController {
    @Autowired
    private XxxService xxxService;

    @GetMapping("/getXxx")
    public JSONObject getXxx() {
        return xxxService.getXxx();
    }
}
